package com.pig4cloud.pig.module.api.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;

import java.math.BigDecimal;

/**
 * @ClassName FromatDetailDTO
 * @Author hupeng <610796224@qq.com>
 * @Date 2019/10/12
 **/

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class OrderRestaurantSettleDto {

	/**
	 *  选中要结算的订单id
	 */
	private Long[] orderIds;

    private BigDecimal totalPrice;

    private BigDecimal payPrice;

	/**
	 *  折扣  8.5= 85折
	 */
	private Double discountRate;

    private Integer selfVipId;

    private BigDecimal selfPayPrice;

	@TableField(exist = false)
	private Integer xianjin;

	@TableField(exist = false)
	private Integer tableId;

	@TableField(exist = false)
	private String remark;

	@TableField(exist = false)
	private Long cardNum;

	@TableField(exist = false)
	private Double vipMoney;
}
